package question.T0125_2_DessertShop.tax;

public class FixedProportionalTaxCalculator implements TaxCalculator {

    private final double fixedTax;
    private final double taxProp;

    public FixedProportionalTaxCalculator(double fixedTax, double taxProp) {
        this.fixedTax = fixedTax;
        this.taxProp = taxProp;
    }

    @Override
    public double calculate(double income) {
        // 在这里添加或者修改代码
        return 0;

        // 可修改部分结束
    }
}
